#include <QtDebug>
#include <gloox/client.h>
#include "sessionthread.h"

Kajim::XMPP::SessionThread::SessionThread(::gloox::Client * client, QObject * parent)
    : QThread(parent)
{
    this->client = client;
}

void Kajim::XMPP::SessionThread::run()
{
    bool res = client->connect();
    qDebug() << "Connection terminated with status: " << res;
}
